package activities.project3.group3.s12cs342;

import java.util.ArrayList;

import DataStructures.Project3.Group3.s12cs342.QuestionContainer;
import android.app.Application;
import android.content.res.Configuration;

public class Quiz extends Application {
	private ArrayList<QuestionContainer> qc;
	private int totalScore = 0;
	private int currentScore = 0;
	private String testName = null;
	private String testDescription = null;
	private ArrayList<String> s;
	private int id = 0;
	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public ArrayList<String> getS() {
		return s;
	}

	public void setS(ArrayList<String> s) {
		this.s = s;
	}

	public Quiz() {
		super();
		
	}
	
	public String getTestName() {
		return testName;
	}

	public void setTestName(String testName) {
		this.testName = testName;
	}

	public String getTestDescription() {
		return testDescription;
	}

	public void setTestDescription(String testDescription) {
		this.testDescription = testDescription;
	}


	public void setQuestions(ArrayList<QuestionContainer> q) {
		qc = q;
	}

	public ArrayList<QuestionContainer> getQuestions() {
		return qc;
	}
	public void setCurrentScore(int p){
		currentScore+=p;
	}
	public void setTotalScore(int p){
		totalScore+=p;
	}
	public int getTotalScore(){
		return totalScore;
	}
	public int getCurrentScore(){
		return currentScore;
	}
	public void resetScores(){
		totalScore = 0;
		currentScore = 0;
	}
	
	
}
